package com.example.workbook.service;

import com.example.workbook.common.R;
import com.example.workbook.model.domain.Content;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.workbook.model.request.ContentRequest;

/**
* @author 53067
* @description 针对表【content】的数据库操作Service
* @createDate 2023-08-14 11:13:06
*/
public interface ContentService extends IService<Content> {

    R addContent(ContentRequest contentRequest);

    R contentOfUserId(Integer userId);

    R updateContentEndTime(ContentRequest contentRequest);
}
